string_trim_left
This function truncates a specified number of characters from the left hand side of a string.
string string_trim_left(string the_string, uint count)
Parameters:
the_string
The string that will be extracted from.
count
The number of characters to remove.
Return value:
Returns the string with so many characters removed from the left.
Remarks:
If position is less than 1, the string is returned in its entirety. If position is greater than the string's length, a blank string will be returned.
Example:
void main()
{
alert("string_trim_left test", string_trim_left("Hello, I am a string!", 7)); //output should be I am a string!
}